package com.gnerv.sylvanas.framework.core.exception;

import com.gnerv.sylvanas.framework.common.tools.StringTools;

/**
 * <p>
 * 请求参数异常
 * </p>
 *
 * @author Gnerv LiGen
 */
public class ParameterException extends RuntimeException {

    public ParameterException(String message) {
        super(message);
    }

    public ParameterException(String message, Object ...parameter) {
        super(StringTools.format(message, parameter));
    }

}
